package com.jy.blog.service;

import java.util.List;

import com.jy.blog.model.Article;

public interface ArticleService {
	List<Article>selectAllArticle();
	/**
	 * 
	 * @param id
	 * @return
	 */
	Article selectById(int id);
	
	int add(Article article);
	
	int update(Article article);
	
	int del(int id);
	List<Article> getProduct(String name);
}
